package com.jingyi.common.enums;

public enum LoginType {
    WECHAT("wechat", "微信登录"), USERNAME("username", "用户名登录");

    private final String code;
    private final String info;

    LoginType(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
